package com.fulihui.usercore.dal.mapper;

import com.fulihui.usercore.dal.dataobj.LoginDO;

/**
 * 分表分库改造后
 * 这个表虽然主键是loginid，但实际分表字段为userid，方法名可能有些歧义
 * @author Willard.Hu on 2016/5/17.
 */
public interface LoginMapper {

    void insert(LoginDO userLoginDO);

    boolean update(LoginDO loginDO);

    boolean updateLoginId(LoginDO loginDO);

    LoginDO queryByUserid(String userId);

    boolean updatePasswordByUserId(LoginDO loginDO);

    int deleteByPrimaryKey(String userId);

}
